package com.wbs.shop.nuby.api.exception;

/**
 * Created by Administrator on 2017/3/24 0024.
 */

public class FirmException extends Exception {
    public static final String NOT_LOGIN = "login";
    private int code;
    private Object data;

    public FirmException(String message, int code, Object data) {
        super(message);
        this.code = code;
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
